home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / howtod2r / map.frm < prev    next >
Text File  |  1999-01-15  |  3KB  |  106 lines

  1. VERSION 5.00
  2. Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
  3. Begin VB.Form frmMap 
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Map"
  6.    ClientHeight    =   6285
  7.    ClientLeft      =   45
  8.    ClientTop       =   330
  9.    ClientWidth     =   9915
  10.    Icon            =   "Map.frx":0000
  11.    LinkTopic       =   "Form1"
  12.    MaxButton       =   0   'False
  13.    MDIChild        =   -1  'True
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   6285
  16.    ScaleWidth      =   9915
  17.    Begin VB.CommandButton cmdExcel 
  18.       Caption         =   "Print"
  19.       Height          =   375
  20.       Left            =   4320
  21.       TabIndex        =   1
  22.       Top             =   5760
  23.       Width           =   735
  24.    End
  25.    Begin MSComctlLib.TreeView tvMap 
  26.       Height          =   5415
  27.       Left            =   360
  28.       TabIndex        =   0
  29.       Top             =   240
  30.       Width           =   9135
  31.       _ExtentX        =   16113
  32.       _ExtentY        =   9551
  33.       _Version        =   393217
  34.       Style           =   7
  35.       Appearance      =   1
  36.    End
  37.    Begin VB.Label lblRoot 
  38.       Height          =   255
  39.       Left            =   1080
  40.       TabIndex        =   3
  41.       Top             =   5880
  42.       Width           =   1815
  43.    End
  44.    Begin VB.Label Label1 
  45.       Caption         =   "Root:"
  46.       Height          =   255
  47.       Left            =   360
  48.       TabIndex        =   2
  49.       Top             =   5880
  50.       Width           =   615
  51.    End
  52. End
  53. Attribute VB_Name = "frmMap"
  54. Attribute VB_GlobalNameSpace = False
  55. Attribute VB_Creatable = False
  56. Attribute VB_PredeclaredId = True
  57. Attribute VB_Exposed = False
  58. Option Explicit
  59.  
  60. 'Map.frm
  61.  
  62. '--------------------------------------------------------------------------
  63. '<Purpose>
  64. '
  65. '
  66. '
  67. '<Revision>
  68. '       $Revision: $
  69. '
  70. '<Mod Log>
  71. '
  72. '       $Log: $
  73. '
  74. '--------------------------------------------------------------------------
  75.  
  76. Private hSite As Form
  77.  
  78. Public Property Get SiteHandle() As Form
  79.     Set SiteHandle = hSite
  80. End Property
  81.  
  82. Public Property Let SiteHandle(ByVal hForm As Form)
  83.     Set hSite = hForm
  84. End Property
  85.  
  86. '--------------------------------------------------------------------------
  87. '<Purpose>
  88. '
  89. '
  90. '<Syntax>
  91. '
  92. '
  93. '<Assumptions>
  94. '
  95. '
  96. '<Returns>
  97. '
  98. '
  99. '<Author>
  100. '   HBW
  101. '
  102. '--------------------------------------------------------------------------
  103. Private Sub cmdExcel_Click()
  104.     Call MakeExcelFile(tvMap)
  105. End Sub
  106.